package com.haiyou.dc.oa.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author root
 * @date 2020-01-05 16:26:23
 */
@Controller
@RequestMapping("/workflow")
@Slf4j
public class WorkFlowController {

    private static final String prefix = "workflow";

    @GetMapping("/index")
    public String index() throws InterruptedException {
        Thread.sleep(300);
        return prefix + "/index";
    }

}